#pragma once
#include "Game Objects\CBase.h"

class CDoor : public CBase
{
private:
	bool isopen;
	int imageid;

public:
	CDoor();
	bool getopen(){return isopen;}
	void open();
	
	void update(float fElapsedTime);
	void rendertiles();
	void setimage(int id){imageid = id;}
	void setopen(bool open){isopen = open;}
};